package com.welkom.everydate.util.web;

import java.io.Serializable;
import java.util.List;

public class RequestResult<T> implements Serializable {
	private int resultCode;
	private int statusCode;
	private String message;
	private String reason;
	private T data;
	public RequestResult(int resultCode, int statusCode, String message,
			String reason, T data) {
		this.resultCode = resultCode;
		this.statusCode = statusCode;
		this.message = message;
		this.reason = reason;
		this.data = data;
	}
	public RequestResult() {
		
	}
	/**
	 * @return the resultCode
	 */
	public int getResultCode() {
		return resultCode;
	}
	/**
	 * @param resultCode the resultCode to set
	 */
	public void setResultCode(int resultCode) {
		this.resultCode = resultCode;
	}
	/**
	 * @return the statusCode
	 */
	public int getStatusCode() {
		return statusCode;
	}
	/**
	 * @param statusCode the statusCode to set
	 */
	public void setStatusCode(int statusCode) {
		this.statusCode = statusCode;
	}
	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}
	/**
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}
	/**
	 * @return the reason
	 */
	public String getReason() {
		return reason;
	}
	/**
	 * @param reason the reason to set
	 */
	public void setReason(String reason) {
		this.reason = reason;
	}
	/**
	 * @return the data
	 */
	public T getData() {
		return data;
	}
	/**
	 * @param data the data to set
	 */
	public void setData(T data) {
		this.data = data;
	}
}
